tests: Use G_DEBUG=fatal-warnings here too
authorColin Walters <walters@verbum.org>
Mon, 5 Dec 2016 17:58:43 +0000 (12:58 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 6 Dec 2016 14:36:06 +0000 (14:36 +0000)
I am trying to track down a warning I see in `test-keyfile-utils`
which turned out to be the installed case only, but let's inject
this here too.

(The GLib default is broken, but it's hard to fix upstream without
 breaking the world)

Closes: #610
Approved by: jlebon

Makefile-tests.am

index 517f713bcb119e050c0c6098781ead763e8aea3b..d4685237ff30edaae9540e67724259c7083d65d2 100644 (file)
@@ -28,6 +28,7 @@ EXTRA_DIST += \
 # include the builddir in $PATH so we find our just-built ostree
 # binary.
 TESTS_ENVIRONMENT += OT_TESTS_DEBUG=1 \
+       G_DEBUG=fatal-warnings \
        GI_TYPELIB_PATH=$$(cd $(top_builddir) && pwd)$${GI_TYPELIB_PATH:+:$$GI_TYPELIB_PATH} \
        LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && pwd)$${LD_LIBRARY_PATH:+:$${LD_LIBRARY_PATH}} \
        PATH=$$(cd $(top_builddir)/tests && pwd):$${PATH} \